package com.etc.dto;

import java.io.Serializable;

/**
 * @订单项[订单详情]的实体类
 * 
 * @author
 *
 */
public class ItemsDto implements Serializable {

	private int itemsid;
	private int count;
	private int goodsid; // private Goods goods;
	private String orderid;
	private double cost;
	private String username; // private Users user
	private String shopname; // private Shop shop
	private String goodsname;

	public int getItemsid() {
		return itemsid;
	}

	public void setItemsid(int itemsid) {
		this.itemsid = itemsid;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public ItemsDto() {
		// TODO Auto-generated constructor stub
	}

	public ItemsDto(int itemsid, int count, int goodsid, String orderid, double cost, String username, String shopname,
			String goodsname) {
		super();
		this.itemsid = itemsid;
		this.count = count;
		this.goodsid = goodsid;
		this.orderid = orderid;
		this.cost = cost;
		this.username = username;
		this.shopname = shopname;
		this.goodsname = goodsname;
	}

	@Override
	public String toString() {
		return "ItemsDto [itemsid=" + itemsid + ", count=" + count + ", goodsid=" + goodsid + ", orderid=" + orderid
				+ ", cost=" + cost + ", username=" + username + ", shopname=" + shopname + ", goodsname=" + goodsname
				+ "]";
	}

}
